export const optionLine = {
  title: {
    show: false
  },
  grid: {
    right: 0,
    bottom: 35,
    top: 55,
    left: 65,
    style: {
      fill: 'rgba(0, 0, 0, 0)'
    }
  },
  legend: {
    data: ['新登记企业', '税收'],
    top: 25,
    right: 10,
    textStyle: {
      fontFamily: 'Arial',
      fontSize: 28,
      fill: '#fff'
    }
  },
  xAxis: {
    name: '',
    splitLine: {
      show: true,
      style: {
        stroke: '#3C6A94',
        lineWidth: 1
      }
    },
    data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
    axisLine: {
      style: {
        stroke: '#fff',
        lineWidth: 1
      }
    },
    axisTick: {
      style: {
        stroke: '#fff',
        lineWidth: 1
      }
    },
    axisLabel: {
      style: {
        fill: '#fff',
        fontSize: 28,
        rotate: 0
      }
    }
  },
  yAxis: {
    name: '数量 / 万元',
    data: 'value',
    nameGap: 30,
    min: 0,
    splitNumber: 4,
    splitLine: {
      // show: false
      style: {
        stroke: '#3C6A94',
        lineWidth: 1
      }
    },
    nameTextStyle: {
      fill: '#fff',
      fontSize: 24
    },
    axisLine: {
      style: {
        stroke: '#fff',
        lineWidth: 1
      }
    },
    axisTick: {
      style: {
        stroke: '#fff',
        lineWidth: 1
      }
    },
    axisLabel: {
      style: {
        fill: '#fff',
        fontSize: 28,
        rotate: 0
      }
    }
  },
  series: [
    {
      name: '新登记企业',
      data: [20, 30, 60, 40, 10, 45, 30, 30, 60, 40, 10, 45],
      type: 'line',
      fill: {
        show: true
      },
      lineArea: {
        show: true,
        gradient: ['rgba(0,216,255,1)', 'rgba(55, 162, 218, 0)']
      },
      linePoint: {
        radius: 4,
        style: {
          shadowBlur: 8,
          shadowColor: '#39F18A',
          lineWidth: 5
        }
      }
    },
    {
      name: '税收',
      data: [20, 30, 60, 40, 10, 45, 30, 40, 10, 45, 30, 45].reverse(),
      type: 'line',
      stack: 'a',
      smooth: true,
      lineArea: {
        show: true,
        gradient: ['#FAD900', 'rgba(55, 162, 218, 0)']
      },
      linePoint: {
        radius: 4,
        style: {
          shadowBlur: 8,
          shadowColor: '#39F18A',
          lineWidth: 5
        }
      }
    }
  ]
}
